package cn.yanglq.Rss.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MailSetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MailSetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSendidIsNull() {
            addCriterion("sendid is null");
            return (Criteria) this;
        }

        public Criteria andSendidIsNotNull() {
            addCriterion("sendid is not null");
            return (Criteria) this;
        }

        public Criteria andSendidEqualTo(Integer value) {
            addCriterion("sendid =", value, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidNotEqualTo(Integer value) {
            addCriterion("sendid <>", value, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidGreaterThan(Integer value) {
            addCriterion("sendid >", value, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidGreaterThanOrEqualTo(Integer value) {
            addCriterion("sendid >=", value, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidLessThan(Integer value) {
            addCriterion("sendid <", value, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidLessThanOrEqualTo(Integer value) {
            addCriterion("sendid <=", value, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidIn(List<Integer> values) {
            addCriterion("sendid in", values, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidNotIn(List<Integer> values) {
            addCriterion("sendid not in", values, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidBetween(Integer value1, Integer value2) {
            addCriterion("sendid between", value1, value2, "sendid");
            return (Criteria) this;
        }

        public Criteria andSendidNotBetween(Integer value1, Integer value2) {
            addCriterion("sendid not between", value1, value2, "sendid");
            return (Criteria) this;
        }

        public Criteria andInfonameIsNull() {
            addCriterion("infoname is null");
            return (Criteria) this;
        }

        public Criteria andInfonameIsNotNull() {
            addCriterion("infoname is not null");
            return (Criteria) this;
        }

        public Criteria andInfonameEqualTo(String value) {
            addCriterion("infoname =", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameNotEqualTo(String value) {
            addCriterion("infoname <>", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameGreaterThan(String value) {
            addCriterion("infoname >", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameGreaterThanOrEqualTo(String value) {
            addCriterion("infoname >=", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameLessThan(String value) {
            addCriterion("infoname <", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameLessThanOrEqualTo(String value) {
            addCriterion("infoname <=", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameLike(String value) {
            addCriterion("infoname like", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameNotLike(String value) {
            addCriterion("infoname not like", value, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameIn(List<String> values) {
            addCriterion("infoname in", values, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameNotIn(List<String> values) {
            addCriterion("infoname not in", values, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameBetween(String value1, String value2) {
            addCriterion("infoname between", value1, value2, "infoname");
            return (Criteria) this;
        }

        public Criteria andInfonameNotBetween(String value1, String value2) {
            addCriterion("infoname not between", value1, value2, "infoname");
            return (Criteria) this;
        }

        public Criteria andHostnameIsNull() {
            addCriterion("hostname is null");
            return (Criteria) this;
        }

        public Criteria andHostnameIsNotNull() {
            addCriterion("hostname is not null");
            return (Criteria) this;
        }

        public Criteria andHostnameEqualTo(String value) {
            addCriterion("hostname =", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameNotEqualTo(String value) {
            addCriterion("hostname <>", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameGreaterThan(String value) {
            addCriterion("hostname >", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameGreaterThanOrEqualTo(String value) {
            addCriterion("hostname >=", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameLessThan(String value) {
            addCriterion("hostname <", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameLessThanOrEqualTo(String value) {
            addCriterion("hostname <=", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameLike(String value) {
            addCriterion("hostname like", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameNotLike(String value) {
            addCriterion("hostname not like", value, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameIn(List<String> values) {
            addCriterion("hostname in", values, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameNotIn(List<String> values) {
            addCriterion("hostname not in", values, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameBetween(String value1, String value2) {
            addCriterion("hostname between", value1, value2, "hostname");
            return (Criteria) this;
        }

        public Criteria andHostnameNotBetween(String value1, String value2) {
            addCriterion("hostname not between", value1, value2, "hostname");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andRssurlIsNull() {
            addCriterion("rssurl is null");
            return (Criteria) this;
        }

        public Criteria andRssurlIsNotNull() {
            addCriterion("rssurl is not null");
            return (Criteria) this;
        }

        public Criteria andRssurlEqualTo(String value) {
            addCriterion("rssurl =", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlNotEqualTo(String value) {
            addCriterion("rssurl <>", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlGreaterThan(String value) {
            addCriterion("rssurl >", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlGreaterThanOrEqualTo(String value) {
            addCriterion("rssurl >=", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlLessThan(String value) {
            addCriterion("rssurl <", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlLessThanOrEqualTo(String value) {
            addCriterion("rssurl <=", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlLike(String value) {
            addCriterion("rssurl like", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlNotLike(String value) {
            addCriterion("rssurl not like", value, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlIn(List<String> values) {
            addCriterion("rssurl in", values, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlNotIn(List<String> values) {
            addCriterion("rssurl not in", values, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlBetween(String value1, String value2) {
            addCriterion("rssurl between", value1, value2, "rssurl");
            return (Criteria) this;
        }

        public Criteria andRssurlNotBetween(String value1, String value2) {
            addCriterion("rssurl not between", value1, value2, "rssurl");
            return (Criteria) this;
        }

        public Criteria andSendmailIsNull() {
            addCriterion("sendmail is null");
            return (Criteria) this;
        }

        public Criteria andSendmailIsNotNull() {
            addCriterion("sendmail is not null");
            return (Criteria) this;
        }

        public Criteria andSendmailEqualTo(String value) {
            addCriterion("sendmail =", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailNotEqualTo(String value) {
            addCriterion("sendmail <>", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailGreaterThan(String value) {
            addCriterion("sendmail >", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailGreaterThanOrEqualTo(String value) {
            addCriterion("sendmail >=", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailLessThan(String value) {
            addCriterion("sendmail <", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailLessThanOrEqualTo(String value) {
            addCriterion("sendmail <=", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailLike(String value) {
            addCriterion("sendmail like", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailNotLike(String value) {
            addCriterion("sendmail not like", value, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailIn(List<String> values) {
            addCriterion("sendmail in", values, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailNotIn(List<String> values) {
            addCriterion("sendmail not in", values, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailBetween(String value1, String value2) {
            addCriterion("sendmail between", value1, value2, "sendmail");
            return (Criteria) this;
        }

        public Criteria andSendmailNotBetween(String value1, String value2) {
            addCriterion("sendmail not between", value1, value2, "sendmail");
            return (Criteria) this;
        }

        public Criteria andMailpasswordIsNull() {
            addCriterion("mailpassword is null");
            return (Criteria) this;
        }

        public Criteria andMailpasswordIsNotNull() {
            addCriterion("mailpassword is not null");
            return (Criteria) this;
        }

        public Criteria andMailpasswordEqualTo(String value) {
            addCriterion("mailpassword =", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordNotEqualTo(String value) {
            addCriterion("mailpassword <>", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordGreaterThan(String value) {
            addCriterion("mailpassword >", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordGreaterThanOrEqualTo(String value) {
            addCriterion("mailpassword >=", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordLessThan(String value) {
            addCriterion("mailpassword <", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordLessThanOrEqualTo(String value) {
            addCriterion("mailpassword <=", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordLike(String value) {
            addCriterion("mailpassword like", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordNotLike(String value) {
            addCriterion("mailpassword not like", value, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordIn(List<String> values) {
            addCriterion("mailpassword in", values, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordNotIn(List<String> values) {
            addCriterion("mailpassword not in", values, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordBetween(String value1, String value2) {
            addCriterion("mailpassword between", value1, value2, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andMailpasswordNotBetween(String value1, String value2) {
            addCriterion("mailpassword not between", value1, value2, "mailpassword");
            return (Criteria) this;
        }

        public Criteria andReceivemailIsNull() {
            addCriterion("receivemail is null");
            return (Criteria) this;
        }

        public Criteria andReceivemailIsNotNull() {
            addCriterion("receivemail is not null");
            return (Criteria) this;
        }

        public Criteria andReceivemailEqualTo(String value) {
            addCriterion("receivemail =", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailNotEqualTo(String value) {
            addCriterion("receivemail <>", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailGreaterThan(String value) {
            addCriterion("receivemail >", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailGreaterThanOrEqualTo(String value) {
            addCriterion("receivemail >=", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailLessThan(String value) {
            addCriterion("receivemail <", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailLessThanOrEqualTo(String value) {
            addCriterion("receivemail <=", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailLike(String value) {
            addCriterion("receivemail like", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailNotLike(String value) {
            addCriterion("receivemail not like", value, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailIn(List<String> values) {
            addCriterion("receivemail in", values, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailNotIn(List<String> values) {
            addCriterion("receivemail not in", values, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailBetween(String value1, String value2) {
            addCriterion("receivemail between", value1, value2, "receivemail");
            return (Criteria) this;
        }

        public Criteria andReceivemailNotBetween(String value1, String value2) {
            addCriterion("receivemail not between", value1, value2, "receivemail");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userid is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userid is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("userid =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("userid <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("userid >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("userid >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("userid <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("userid <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("userid like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("userid not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("userid in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("userid not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("userid between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("userid not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreaterIsNull() {
            addCriterion("creater is null");
            return (Criteria) this;
        }

        public Criteria andCreaterIsNotNull() {
            addCriterion("creater is not null");
            return (Criteria) this;
        }

        public Criteria andCreaterEqualTo(String value) {
            addCriterion("creater =", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotEqualTo(String value) {
            addCriterion("creater <>", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterGreaterThan(String value) {
            addCriterion("creater >", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterGreaterThanOrEqualTo(String value) {
            addCriterion("creater >=", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLessThan(String value) {
            addCriterion("creater <", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLessThanOrEqualTo(String value) {
            addCriterion("creater <=", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLike(String value) {
            addCriterion("creater like", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotLike(String value) {
            addCriterion("creater not like", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterIn(List<String> values) {
            addCriterion("creater in", values, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotIn(List<String> values) {
            addCriterion("creater not in", values, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterBetween(String value1, String value2) {
            addCriterion("creater between", value1, value2, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotBetween(String value1, String value2) {
            addCriterion("creater not between", value1, value2, "creater");
            return (Criteria) this;
        }

        public Criteria andModifytimeIsNull() {
            addCriterion("modifytime is null");
            return (Criteria) this;
        }

        public Criteria andModifytimeIsNotNull() {
            addCriterion("modifytime is not null");
            return (Criteria) this;
        }

        public Criteria andModifytimeEqualTo(Date value) {
            addCriterion("modifytime =", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeNotEqualTo(Date value) {
            addCriterion("modifytime <>", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeGreaterThan(Date value) {
            addCriterion("modifytime >", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modifytime >=", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeLessThan(Date value) {
            addCriterion("modifytime <", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeLessThanOrEqualTo(Date value) {
            addCriterion("modifytime <=", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeIn(List<Date> values) {
            addCriterion("modifytime in", values, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeNotIn(List<Date> values) {
            addCriterion("modifytime not in", values, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeBetween(Date value1, Date value2) {
            addCriterion("modifytime between", value1, value2, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeNotBetween(Date value1, Date value2) {
            addCriterion("modifytime not between", value1, value2, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifyidIsNull() {
            addCriterion("modifyid is null");
            return (Criteria) this;
        }

        public Criteria andModifyidIsNotNull() {
            addCriterion("modifyid is not null");
            return (Criteria) this;
        }

        public Criteria andModifyidEqualTo(String value) {
            addCriterion("modifyid =", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidNotEqualTo(String value) {
            addCriterion("modifyid <>", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidGreaterThan(String value) {
            addCriterion("modifyid >", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidGreaterThanOrEqualTo(String value) {
            addCriterion("modifyid >=", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidLessThan(String value) {
            addCriterion("modifyid <", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidLessThanOrEqualTo(String value) {
            addCriterion("modifyid <=", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidLike(String value) {
            addCriterion("modifyid like", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidNotLike(String value) {
            addCriterion("modifyid not like", value, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidIn(List<String> values) {
            addCriterion("modifyid in", values, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidNotIn(List<String> values) {
            addCriterion("modifyid not in", values, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidBetween(String value1, String value2) {
            addCriterion("modifyid between", value1, value2, "modifyid");
            return (Criteria) this;
        }

        public Criteria andModifyidNotBetween(String value1, String value2) {
            addCriterion("modifyid not between", value1, value2, "modifyid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}